﻿	config.eventcfg = {		//读取模板设置数据		settemp: function() {			var self = this;			var records = JxUtil.getSelectRows(this.grid);			if (!JxUtil.selectone(records)) return;			var keyid = records[0].get(self.define.pkcol);						JxPortalExt.readTemp('settemp', keyid, '0');		},				//重新设置模板数据		redotemp: function() {			var self = this;			var records = JxUtil.getSelectRows(this.grid);			if (!JxUtil.selectone(records)) return;			var keyid = records[0].get(self.define.pkcol);						Ext.Msg.confirm(jx.base.hint, '将删除原模板，确定重新设置吗？', function(btn) {				if (btn == 'yes') {					JxPortalExt.readTemp('redotemp', keyid, '0');				}			});		}
	};		config.initpage = function(gn){			};